package com.example.backblog.service.user;

import com.example.backblog.entity.user.Role;
import com.example.backblog.entity.user.User;

import java.util.List;

public interface UserService {
    User getByUserName(String userName);
    List<Role> getUserRoles(String userName);

    List<String> obtainPermission(List<Role> roles);
}
